home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_sea_danger_warning.cog < prev    next >
Text File  |  1999-11-15  |  797b  |  45 lines

  1. # Jones 3D Cog Script
  2. #
  3. # sea_danger_warning.cog
  4. #
  5. # Cog description
  6. #
  7. # [DS]
  8. #
  9. # (C) 1999 LucasArts Entertainment Company LLC. All Rights Reserved
  10. #
  11. # ===================================================================
  12. symbols
  13.  
  14. message    startup
  15. message    entered
  16.  
  17. surface    trigger_face
  18. sector    trigger_sect
  19. sound        music0=mus_gen_danger2.wav        local
  20. sound        commie_talk0=inxh3015.wav        local    # This is a restricted area....
  21. thing        player                    local
  22. int        played=0                    local
  23.  
  24. end
  25. # -------------------------------------------------------------------
  26.  
  27. code
  28.  
  29. startup:
  30.     player = GetLocalPlayerThing();
  31.     return;
  32.  
  33. entered:
  34.     if(played == 1) return;
  35.     played=1;
  36.     PlaySoundLocal(music0, 1.0, 0.0, 0x0, 0);
  37.     PlaySoundLocal(commie_talk0, 1.0, 0.0, 0x0, 0);
  38.     return;
  39.  
  40. end
  41.  
  42.  
  43.  
  44.  
  45.